<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field name='title'/} - {dede:global name='cfg_webname'/} - powered by dedecms</title>
<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description'/}">
<link href="{dede:field name='templeturl'/}/style/book_style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.msgarea{
	width:584px;
	height:300px;
	overflow-y: auto;
	overflow: auto;
	scrollbar-face-color: #ffffff;
	scrollbar-highlight-color: #919192;
	scrollbar-shadow-color: #919192;
	scrollbar-3dlight-color:#ffffff;
	scrollbar-arrow-color: #919192;
	scrollbar-track-color: #ffffff;
	scrollbar-darkshadow-color: #ffffff;
	float: left;
	text-align: left;
	line-height: 20px;
}
</style>
<script language='javascript' src='{dede:global name='cfg_cmspath'/}/include/dedeajax2.js'></script>
<script language='javascript'>
function CheckLogin(){
  var taget_obj = document.getElementById('book_welcome');
  myajax = new DedeAjax(taget_obj,false,false,"","","");
  myajax.SendGet2("{dede:global name="cfg_book_url"/}/loginsta.php");
  myajax = null;
}
</script>
</head>
<body onload="CheckLogin()">

<body>
<div id="container">
	<!--头部开始-->
    <div id="book_header">
    	<div id="book_top">
        	<div id="book_toplogo">
            </div>
            <div id="book_welcome">您好，请 <span><a href="/member/login.php">登录</a></span> 或 <span><a href="/member/index_do.php?fmdo=user&dopost=regnew">注册</a></span>
            </div>
            <div class="clear">
            </div>
        </div>

        <div id="book_topimg">
        	<div id="book_topbg">
        		<div id="book_logo">
            	</div>
            	<div id="book_banner">
            	</div>
            	<div class="clear">
            	</div>
        	</div>
        </div>

        <div id="book_menubg">
        	<div id="book_menu">
            	<div id="book_go">
                </div>
                <ul>
                    <li><a href='/'>主页</a></li>
        			{dede:catalog}
                    <li><a href="{in:field name='url'}{/in:field}">{in:field name='classname'}{/in:field}</a></li>
        			{/dede:catalog}
        			<li><a href='{dede:global name='cfg_cmspath'/}/member'>会员中心</a></li>
                </ul>
                <div class="clear">
                </div>
            </div>
        </div>

    </div>
	<!--头部结束-->
    <!--中间开始-->
    <div id="main">
   	  <div id="book_main">
        	<div id="book_index">当前位置：<a href="/">主页</a> &gt; <a href="{dede:global name='cfg_cmspath'/}/book">连载频道</a> &gt; {dede:position /}
            </div>
            <div id="book_left"><!--左边开始-->
           	  <div class="book_left_main">
               	  <div class="book_left_title">本月热门图书
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
                        	{dede:booklist row='8' titlelen='24' orderby='weekcc'}
							<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                        </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
           	  <div class="book_left_main">
               	  <div class="book_left_title">推荐图书
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
                        	{dede:booklist row='8' titlelen='24' orderby='commend'}
							<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                        </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
           	  <div class="book_left_main">
               	  <div class="book_left_title">总点击排行
                  </div>
                    <div class="book_left_main_text">
                    	<ul>
		  					{dede:booklist row='8' titlelen='24' orderby='click'}
                       		<li><a href='[field:bookurl /]'>[field:bookname /]</a></li>
							{/dede:booklist}
                        </ul>
                    </div>
                    <div class="clear">
                    </div>
              </div>
            </div><!--左边结束-->

          	<div id="book_right"><!--右边开始-->
          	  <div class="book_news"><!--新书上架-->
                	<div class="book_news_title title">
                    	<ul>
                        <li>文章信息：</li>
                        </ul>
                    </div>
                    <div class="book_news_style">
                    	<div class="book_news_style_form1">
                        	<div class="book_news_style_img1"><img src="{dede:field name='litpic' /}" width="130" height="150" alt="{dede:field name='title' /}"/>                            </div>
                            <div class="book_news_style_text2">
                            	<h1>{dede:field name='bookname'/} </h1>
                            	<h2>作者：{dede:field name='author'/}</h2><h2>上架时间：{dede:field name='pubdate' function='GetDateMk(@me)'/}</h2>
                           	  <h2>浏览量：<script src="{dede:field name='phpurl'/}/../book/countbook.php?view=yes&id={dede:field name='id'/}" language="javascript"></script></h2><h2>连载完成：{dede:field name='status'/}</h2><h2><a href="{dede:field name='phpurl'/}/stow.php?arcID={dede:field name=id/}&type=book">收藏</a></h2>
                              <h3>最新章节：{dede:newcontent row='1'/}</h3>
                          </div>
                            <div class="book_article_title">图书介绍：
                            </div>
                    	</div>

                        <div class="msgarea">
                        {dede:field name='body'/}
                        </div>

                        <div class="clear">
                        </div>
                    </div>

                <div class="book_article_listtable">章节列表：
                </div>
                    {dede:chapter}
                <div class="book_article_texttable">
                    	<div class="book_article_texttitle">第{in:field name='chapnum'}{/in:field}章 {in:field name='chaptername'}{/in:field}
                        </div>
                        <div class="book_article_listtext">
                        	<dl id="chapterlist">
                            {in:content}<dd><a href="[field:url/]">第[field:ch/]节 [field:title/]</a></dd>{/in:content}
                            </dl>
                            <div class="clear">
                            </div>
                        </div>
                </div>
                    {/dede:chapter}
              </div>

          	</div>
            <div class="clear">
            </div>
      </div>
    </div>
<!--中间结束-->
    <div class="book_footer">
    	Powered by <a href="http://www.dedecms.com/">DedeCms {dede:global name='cfg_version'/}</a> &copy; 2004-2008  <a href="http://www.desdev.cn/">DesDev Inc.</a><br />
    </div>
    <div class="clear">
    </div>

</div>
</body>
</html>
